package com.xjggb.cloud.service.impl;

import com.xjggb.cloud.entity.CommonResult;
import com.xjggb.cloud.entity.Payment;
import com.xjggb.cloud.service.PaymentService;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallBackServiceImpl implements PaymentService {
    @Override
    public CommonResult<Payment> show(Long id) {
        return new CommonResult<>(55555,"服务降级返回-----PaymentFallBackServiceImpl",new Payment(123L,"errorSerial"));
    }
}
